<?php


//require_once("$IP/extensions/BlueSpiceDistribution/BlueSpiceDistribution.php");
//require_once("$IP/extensions/BlueSpiceFoundation/BlueSpiceFoundation.php");
//require_once("$IP/extensions/BlueSpiceExtensions/BlueSpiceExtensions.php");

//require_once("$IP/extensions/videoflash.php");
//require_once("$IP/extensions/addbackground.php");

//upload config
$wgGroupPermissions['user']['upload'] = true;
$wgFileExtensions = array(
    'png', 'jpg', 'jpeg', 'gif', 'bmp',
	'mp3', 'mp4', 'ogg', 'ogv', 'webm',
	'sh', 'txt', 'python', 'json', 'zip', 'tar.gz', '7z'
    );

//rewrite
$wgArticlePath = "/$1";
$actions = array( 'edit', 'watch', 'unwatch', 'delete','revert', 'rollback',
  'protect', 'unprotect', 'markpatrolled', 'render', 'submit', 'history', 'purge', 'info' );

foreach ( $actions as $action ) {
  $wgActionPaths[$action] = "/$1/$action";
}

$wgLocaltimezone = "Asia/Shanghai";
$wgUseGzip = true;
$wgDisableCounters = true;
$wgMiserMode = true;

#请将以上代码添加到新装的mediawiki的LocalSettings.php里
#$wgDefaultSkin = "gamux";
